package com.cskaoyan.service.wx.wxy;

import com.cskaoyan.module.bean.BaseRespVo;
import com.cskaoyan.module.pojo.MarketOrderGoods;
import com.cskaoyan.module.bean.vo.WxOrderListVo;
import com.cskaoyan.module.vo.wx.wxy.OrderDetailDataVo;
import com.cskaoyan.module.vo.wx.wxy.WxOrderListDataVo;

public interface WxOrderService {

    WxOrderListDataVo selectOrder(Integer showType, Integer page, Integer limit, Integer userId);

    BaseRespVo selectOrderDetail(Integer orderId);

    int updateOrderDelete(Integer orderId);

    int updateOrderCancel(Integer orderId);

    int updateOrderRefund(Integer orderId);

    MarketOrderGoods selectOrderGoods(Integer orderId, Integer goodsId);

    int updateComment(Integer orderGoodsId, String content, Short star, boolean hasPicture, String[] picUrls);

    BaseRespVo confirmOrder(Integer orderId);

    BaseRespVo insertOrder(Integer addressId, Integer cartId, Integer couponId, Integer grouponLinkId, Integer grouponRulesId, String message, Integer userCouponId);

}
